<jsp:directive.page contentType="text/html;charset=utf-8" />
<%@ include file="/taglibs.jsp" %>

<head>
	<meta name="decorator" content="setup">
	<title>User Details</title>
	<script type="text/javascript">
		$(function() {
			$("#edit, #delete, #duplicate").button();
			$("#edit").click(function(){window.location='user!edit.action?id=<s:text name="user.id"/>';});
			$("#delete").click(function(){if(confirm("Are you sure?"))window.location='user!delete.action?jq.id=<s:text name="user.id"/>';});
		});
	</script>
</head>
<body>
	<div class="ui-helper-clearfix">
		<button id="edit"><s:text name="button.edit"/></button>
		<button id="delete"><s:text name="button.delete"/></button>
		<button id="duplicate"><s:text name="button.duplicate"/></button>
	</div>
	<h1><s:property value="user.userName"/></h1>
	
		<table width="95%">
		<colgroup span="4" width="25%" >
			
		</colgroup>
		<tbody>
			<tr>
				<td class="label">
					<s:label key="module.user.userName"/></td>
				<td style="vertical-align:top;padding-top:4">
					<s:label name="user.userName"></s:label></td>
				<td class="label">
					<s:label key="module.user.isEnabled" for="isEnabled"/></td>
				<td class="element">
					<s:label id="isEnabled" name="user.isEnabled"/>
			</tr>
			<tr>
				<td class="label">
					<s:label key="module.user.preferedLanguage" for="preferedLanguage"/></td>
				<td>
					<s:label  id="preferedLanguage" name="user.preferedLanguage"/></td>
				<td></td>
				<td></td>
			</tr>
			<tr>
				<td class="label">
					<s:label key="module.common.description" for="description"/></td>
				<td colspan="3">
					<s:label  id="description"  name="user.description" rows="5" cols="105"/>
			</tr>
	
		</tbody>
	</table>
</body>
